package leetcode.D600.T547;

import util.GraphUtil;

public class M547 {
    public static void main(String[] args) {
        int[][] isConnected = GraphUtil.parseGraph("[[1,1,0],[1,1,0],[0,0,1]]");
        System.out.println(new Solution().findCircleNum(isConnected));
    }
}
